ComponentOne Data Source for Entity Framework
C1.LiveLinq.LiveViews Namespace / View<T> Class / Select<TResult> Method
The type of the value returned by selector.
A transform function to apply to each element.

In This Topic
    Select<TResult> Method (View<T>)
    In This Topic
    Projects each element of a view into a new form.
    Syntax
    'Declaration
     
    
    Public Function Select(Of TResult)( _
       ByVal selector As System.Linq.Expressions.Expression(Of Func(Of T,TResult)) _
    ) As View(Of TResult)
    public View<TResult> Select<TResult>( 
       System.Linq.Expressions.Expression<Func<T,TResult>> selector
    )

    Parameters

    selector
    A transform function to apply to each element.

    Type Parameters

    TResult
    The type of the value returned by selector.

    Return Value

    A view whose elements are the result of invoking the transform function on each element of this view.
    See Also